package com.greatmay.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlRootElement;

@Entity
@Table(name = "html_element")
@XmlRootElement
public class HtmlElement extends BaseObject{
    private static final long serialVersionUID = -1299351836050167592L;
    private String elementKey;
    private String elementValue;
    private String description;

    @Id
    public String getElementKey() {
        return elementKey;
    }
    @Column(nullable = true, length = 510)
    public String getElementValue() {
        return elementValue;
    }
    public String getDescription() {
        return description;
    }
    public void setElementKey(String elementKey) {
        this.elementKey = elementKey;
    }
    public void setElementValue(String elementValue) {
        this.elementValue = elementValue;
    }
    public void setDescription(String description) {
        this.description = description;
    }
}
